﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WCS.Entity
{
    public class AGVWriteData
    {
        public TaskChain taskChain { get; set; }

        public List<TaskPo> tasks { get; set; }
    }

    public class TaskChain
    {
        /// <summary>
        /// 是否推送
        /// </summary>
        public int isReturn { get; set; }

        /// <summary>
        /// 区域ID
        /// </summary>
        public int areaId { get; set; }

        /// <summary>
        /// 优先级
        /// </summary>
        public int priority { get; set; }

        /// <summary>
        /// 车辆ID
        /// </summary>
        //public int amrId { get; set; }

        /// <summary>
        /// 分组ID
        /// </summary>
        //public int groupId { get; set; }
    }

    public class TaskPo
    {
        /// <summary>
        /// 结束位置
        /// </summary>
        public string endPointCode { get; set; }

        /// <summary>
        /// 任务类型  取货放货
        /// </summary>
        public string taskType { get; set; }

        /// <summary>
        /// 地图ID
        /// </summary>
        public int mapId { get; set; }

        /// <summary>
        /// 拓展字段
        /// </summary>
        public string extend { get; set; }
    }
}
